﻿using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using CPPProject.CppModel;
using System;
using System.ComponentModel.DataAnnotations;

namespace CPPProject.CppServices.Dto
{
    [AutoMapTo(typeof(T_Biz_Transfer))]
    public class UpdateT_Biz_TransferDto : EntityDto<Guid>
    {
        /// <summary>
        /// 公司ID
        /// </summary>
        [MaxLength(100)]
        public string NCompanyID { get; set; }
        /// <summary>
        /// 流转单号
        /// </summary>
        [MaxLength(100)]
        public string CTransCode { get; set; }
        /// <summary>
        /// 订单编号
        /// </summary>
        [MaxLength(300)]
        public string COrderCode { get; set; }
        /// <summary>
        /// 合同编号
        /// </summary>
        [MaxLength(300)]
        public string CCode { get; set; }
        /// <summary>
        /// 流转状态（0待处理1备货2在途3已接收4已完成5已取消6指派运输7等待接货8待确认发货）
        /// </summary>
        [MaxLength(300)]
        public string IStatus { get; set; }
        /// <summary>
        /// 发出站点
        /// </summary>
        [MaxLength(300)]
        public string NFromLocationID { get; set; }
        /// <summary>
        /// 接收站点
        /// </summary>
        [MaxLength(300)]
        public string NToLocationID { get; set; }
        /// <summary>
        /// 单据日期
        /// </summary>
        public DateTime DDate { get; set; }
        /// <summary>
        /// 到货日期
        /// </summary>
        public DateTime DDeliveryDate { get; set; }
        /// <summary>
        /// 承运商编码
        /// </summary>
        [MaxLength(300)]
        public string CCarrierCode { get; set; }
        /// <summary>
        /// 承运商联系人（numeric(10 0)类型）
        /// </summary>
        [MaxLength(300)]
        public string NCarrierContact { get; set; }
        /// <summary>
        /// 承运商联系人
        /// </summary>
        [MaxLength(300)]
        public string CCarrierContact { get; set; }
        /// <summary>
        /// 承运商联系人电话
        /// </summary>
        [MaxLength(300)]
        public string CCarrierPhone { get; set; }
        /// <summary>
        /// 运输工具号码（并没有用到）
        /// </summary>
        [MaxLength(300)]
        public string CCard { get; set; }
        /// <summary>
        /// 客户编码
        /// </summary>
        [MaxLength(300)]
        public string CCusCode { get; set; }
        /// <summary>
        /// 客户联系人
        /// </summary>
        [MaxLength(300)]
        public string CCusContact { get; set; }
        /// <summary>
        /// 客户联系人电话
        /// </summary>
        [MaxLength(300)]
        public string CCusPhone { get; set; }
        /// <summary>
        /// 客户地址
        /// </summary>
        [MaxLength(300)]
        public string CCusAddress { get; set; }
        /// <summary>
        /// 状态变更日期
        /// </summary>
        public DateTime DStatusChangeDate { get; set; }
        /// <summary>
        /// 类型（0未知1发出2回收3调拨4增资5报废6灭失7客户流转）
        /// </summary>
        [MaxLength(300)]
        public string IType { get; set; }
        /// <summary>
        ///  备注
        /// </summary>
        [MaxLength(300)]
        public string CRemark { get; set; }
        /// <summary>
        /// 司机姓名
        /// </summary>
        [MaxLength(300)]
        public string CDriverName { get; set; }
        /// <summary>
        /// 联系方式
        /// </summary>
        [MaxLength(300)]
        public string CPhone { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        [MaxLength(300)]
        public string NCarID { get; set; }
        /// <summary>
        /// 总价（并没有用到）
        /// </summary>
        [MaxLength(300)]
        public string NAmount { get; set; }
        /// <summary>
        /// 状态变更人
        /// </summary>
        [MaxLength(300)]
        public string NStatusChangeUser { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        [MaxLength(300)]
        public string NCreateUser { get; set; }
        /// <summary>
        /// 关联单据
        /// </summary>
        [MaxLength(300)]
        public string CAssicoatedData { get; set; }
        /// <summary>
        /// 发送时间
        /// </summary>
        public DateTime DSendDate { get; set; }
        /// <summary>
        /// 运输方式
        /// </summary>
        [MaxLength(300)]
        public string ITransMode { get; set; }
        /// <summary>
        /// 车牌号
        /// </summary>
        [MaxLength(300)]
        public string CCardID { get; set; }
        /// <summary>
        /// 联系司机
        /// </summary>
        [MaxLength(300)]
        public string CDPhone { get; set; }
        /// <summary>
        /// 合同里的项目路线
        /// </summary>
        [MaxLength(300)]
        public string CProjectName { get; set; }
        /// <summary>
        /// 业务类型
        /// </summary>
        [MaxLength(300)]
        public string IBusType { get; set; }
        /// <summary>
        /// 是否订单复制所创建的流转
        /// </summary>
        [MaxLength(300)]
        public string ICreateByOrder { get; set; }
        /// <summary>
        /// 并没有用到
        /// </summary>
        [MaxLength(300)]
        public string CCarrierNote { get; set; }
        /// <summary>
        /// 租赁天数
        /// </summary>
        [MaxLength(300)]
        public string NDays { get; set; }
    }
}
